from django import forms
from django.contrib.auth.models import User

# 21-实验6.1 系统注册-表单
class RegisterForm(forms.ModelForm):
    email = forms.EmailField(label='邮箱')

    class Meta:
        model = User
        exclude = ['last_login', 'date_joined']
